home *** CD-ROM | disk | FTP | other *** search
- Path: news.bridge.net!news
- From: psycho@bridge.net (Gary Thompson)
- Newsgroups: comp.lang.c
- Subject: Re: CONVERTING INTEGER TO ASCII??????
- Date: Fri, 22 Mar 1996 20:07:24 GMT
- Organization: BridgenetLC - 305.374.3031 - 100 S. Biscayne Blvd, Miami
- Message-ID: <4iv1a6$pl2@news.bridge.net>
- References: <4i17r9$2kn@maltese.eag.unisysgsg.com> <4ic9ll$cfp@news.bridge.net> <danpop.827013499@rscernix>
- Reply-To: psycho@bridge.net
- NNTP-Posting-Host: ppp-ftl1-30.bridge.net
- X-Newsreader: Forte Free Agent 1.0.81
-
- danpop@mail.cern.ch (Dan Pop) wrote:
-
- >In <4ic9ll$cfp@news.bridge.net> psycho@bridge.net (Gary Thompson) writes:
-
- >>buff=itoa(intvalue,buff,10); (I think...)
-
- >And you're wrong. There is no itoa function in the C language.
-
- >K&R2 contains such a function (as an example), at page 64, but it has
- >only two arguments :-)
-
- Then what is this... (badly copied from my C compiler)
- ª----------------------------------------------------------------------------
- ª _
- ª Include: <stdlib.h> _
- ª _
- ª Syntax: char *itoa( int value, char *string, int radix ); _
- ª char *ltoa( long value, char *string, int radix ); _
- ª char *ultoa( unsigned long value, char *string, int radix ); _
- ª _
- ª Returns: a pointer to <string>. _
- ª --
- ª ___________________________________________________________________________ª
-
-
- Gary Thompson
- "The Psycho"
- psycho@bridge.net
- 72607.1365@compuserve.com
- http://www.bridge.net/~psycho
- HTTP://ourworld.compuserve.com/homepages/psychotps
-
-